<%--
  Created by IntelliJ IDEA.
  User: hadoop
  Date: 2016/3/13
  Time: 20:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <title></title>
</head>
<body>
<h2>All Employees in System</h2>

<table border="1">
  <tr>
    <th>Employee Id</th>
    <th>First Name</th>
    <th>Last Name</th>
  </tr>
  <c:forEach items="${employees}" var="employee">
    <tr>
      <td>${employee.id}</td>
      <td>${employee.firstName}</td>
      <td>${employee.lastName}</td>
    </tr>
  </c:forEach>
</table>
</body>
</html>
